<?php # Script 8.2 - mysqli_connect.php

 DEFINE ('DB_USER', 'root');
 DEFINE ('DB_PASSWORD', '');
 DEFINE ('DB_HOST', 'localhost');
 DEFINE ('DB_NAME', 'blog');

 // Make the connection:
$dbc = mysqli_connect (DB_HOST, DB_USER,DB_PASSWORD, DB_NAME) //OR die ('Could not connect to MySQL: ' . mysqli_connect_error() );

?>